<!DOCTYPE HTML>
<html>
<head>
    <title></title>
    <% include common/meta.ejs %>
    <% include common/public.ejs %>
    <link rel="stylesheet" href="<%= global.config.publicPath %>/page/css/mall_wx.css"/>
</head>
<body ontouchstart>
<div class="weui_tab">
    <div class="weui_tab_bd">
        <% if(data.length == 0){ %>
        <span><%= __('views.noData')%></span>
        <% }else{ %>
        <% include ./newsByPage.ejs %>
        <% } %>
    </div>
    <div class="weui_tabbar">
        <a href="index" class="weui_tabbar_item">
            <div class="weui_tabbar_icon">
                <img src="<%= global.config.publicPath %>/page/images/icon_nav_toast.png" alt="">
            </div>
            <p class="weui_tabbar_label"><%= __('homepage.homepage')%></p>
        </a>
        <a href="news" class="weui_tabbar_item weui_bar_item_on">
            <div class="weui_tabbar_icon">
                <img src="<%= global.config.publicPath %>/page/images/icon_nav_button.png" alt="">
            </div>
            <p class="weui_tabbar_label"><%= __('news.news')%></p>
        </a>
        <a href="account" class="weui_tabbar_item">
            <div class="weui_tabbar_icon">
                <img src="<%= global.config.publicPath %>/page/images/icon_nav_user.png" alt="">
            </div>
            <p class="weui_tabbar_label"><%= __('me.me')%></p>
        </a>
    </div>
</div>
<% include common/footer.ejs %>
</body>
</html>